package com.cby.ssm.service;

import com.cby.ssm.entity.User_RoleEntity;

import java.util.List;

/**
 * Created by 13296 on 2017/7/24.
 */
public interface User_RoleService {
    List<User_RoleEntity> SearchAllRolesByUserId(String userId) throws Exception;
    List<User_RoleEntity> SearchAllUsersByRoleId(String roleId) throws Exception;
    boolean deleteRolesOfUserId(String userId) throws Exception;
    void addRoleOfUserId(String userId,String roleId)throws  Exception;
}
